package com.joeone.entity.mti;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

/**
* @author 郑伟杰
* 描述：大类销售分析-需要切换整体，新品，旧品
* 创建时间 2024/3/15 11:29
*/
@Data
@ApiModel
public class CategorySalesaAnalysis {
    @ApiModelProperty("类别")
    private String type;
    @ApiModelProperty("金额(万)")
    private BigDecimal amount;
    @ApiModelProperty("金额占比")
    private BigDecimal percentageAmount;
    @ApiModelProperty("金额同比")
    private BigDecimal yearOnYearAmount;
    @ApiModelProperty("数量")
    private BigDecimal num;
    @ApiModelProperty("数量同比")
    private BigDecimal yearOnYearAmountNum;
    //大类销售分析-新品-才有-适销率（月、年）=新品零售数量/(新品零售数量+门店库存)
    @ApiModelProperty("适销率")
    private BigDecimal marketability;
    @ApiModelProperty("零售折率=零售销售额/吊牌金额*100%")
    private BigDecimal retailDiscount;
    @ApiModelProperty("零售折率同比")
    private BigDecimal yearOnYearRetailDiscount;
}
